<%@ page language="java"  pageEncoding="UTF-8"%>
<%@taglib uri="/WEB-INF/struts-tags.tld" prefix="s"%>

<!DOCTYPE html>
<html lang="zh">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>沈阳外卖网</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- Bootstrap -->
<link href="publicui/bootstrap/css/bootstrap.min.css" rel="stylesheet" media="screen" />
<!--[if lt IE 9]>
  <script src="public/js/html5shiv.js"></script>
<![endif]-->
<!-- application  -->
<link href="css/head.css" rel="stylesheet" />
<link href="css/login.css" rel="stylesheet" />
</head>
<body >

<!-----nav-->
<s:include value="top.action"></s:include>
<!---/nav   --> 

<!---/body   -->
<div class="content" > 
<!--   content  -->
<div class="loginpage">
 <div class="loginpage_img"></div>
 <div  class="login_box" > 
 <div class="content">
	<div id="tab" >
		<ul>
			<li class="login_link_on" >
				<a href="login.action"><span>会员登录</span> </a>
			</li>
			<li class="reg_link_off" >
				<a href="regUser.action"><span>免费注册</span> </a>
			</li>
		</ul>
	</div>
	<div id="login_form_div">
		<form method="post" class="form-horizontal" action="login.action">
			<input type="hidden" name="action" value="login"/>
			<input type="hidden" name="returnURL" value="<s:property value="returnURL" />"/>
			<fieldset>
				<div class="control-group">
					<label>
						<span class="required">*</span>用户名/Email
					</label>
					<div>
						<input type="text" class="input_text" name="username" id="username" maxlength="20"/>
					</div>
				</div>

				<div class="control-group">
					<label>
						<span class="required">*</span>密码
					</label>
					<div>
						<input type="password" class="input_text" name="password" id="password" maxlength="20"/>
					</div>
				</div>
<!--
				<input type="checkbox" name="signin[remember]" defaultvalue="on"
					checked="true" />
				记住我-->
				<a href="password.action?action=password">忘记密码？</a>
				<button type="submit" value="登录" data-loading="登录中…" id="login_btn" class="btn btn-yellow login-btn">
					登录
				</button>
				<!--
				<div class="other-login">
					<span>其他方式</span>
					<a class="link-group" href="/weibo/auth"><img
							id="wb_login_image"
							src="https://static10.elemecdn.com/images/forward/sina.gif"
							title="微博连接" alt="" border="0" /> </a>
					<a href="/renren/auth"><img id="xn_login_image"
							src="https://static10.elemecdn.com/images/forward/renren.gif"
							title='人人连接' alt="" border="0" /> </a>
				</div>
				-->
			</fieldset>
		</form>
	</div>
	<div id="register_form_div" class="hidden">
	</div>
</div>
 </div>
</div>
<!--   /content  -->
  <s:action name="foot" executeResult="true"></s:action>
</div>
<!--  alert div start---->
<div id="copy_dlg_restaurant"  class="restaurant-hover-dlg right hide" >
  <div class="wrapper dark_shadow">
    <div class="callout_tip"></div>
    <div class="detail"> </div>
  </div>
</div>
<!--  alert div  end ---->

<!---/body   --> 


<script src="publicui/js/jquery-1.8.3.js"></script> 
<script src="publicui/jquery-ui/js/jquery-ui-1.9.2.custom.js"></script> 
<script src="publicui/bootstrap/js/bootstrap.min.js"></script> 
<script src="js/head.js"></script> 
<s:if test="error!=null&&error!=''">
<div id="myModal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
  <div class="modal-header">
    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
    <h3 id="myModalLabel">提示</h3>
  </div>
  <div class="modal-body">
    <p><s:fielderror><s:param>error</s:param></s:fielderror></p>
  </div>
  <div class="modal-footer">
    <button class="btn" data-dismiss="modal" aria-hidden="true">关闭</button>
   <!-- <button class="btn btn-primary">确定 </button>   -->
  </div>
</div>
<script type="text/javascript"  >
$('#myModal').modal();
</script>
</s:if>

</body> 
</html>
